class CreateBrightkiteDatas < ActiveRecord::Migration
  def self.up
    create_table :brightkite_datas do |t|
      t.column :crawl_id, :integer
      t.column :full_name, :string
      t.column :gender, :string
      t.column :age, :integer
      #t.timestamps
    end
    
    add_index :brightkite_datas, :crawl_id
  end
  
  def self.down
    remove_index :brightkite_datas, :crawl_id
    drop_table :brightkite_datas
  end
end
